package cn.iocoder.yudao.module.member.controller.app.auth.vo;

import cn.iocoder.yudao.framework.common.validation.InEnum;
import cn.iocoder.yudao.module.system.enums.mail.MailSceneEnum;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.experimental.Accessors;

import jakarta.validation.constraints.Email;
import jakarta.validation.constraints.NotNull;

@Schema(description = "用户 APP - 发送邮箱验证码 Request VO")
@Data
@Accessors(chain = true)
public class AppAuthMailSendReqVO {

    @Schema(description = "邮箱", example = "123456@qq.com")
    @Email
    private String email;

    @Schema(description = "发送场景,对应 MailSceneEnum 枚举", example = "1")
    @NotNull(message = "发送场景不能为空")
    @InEnum(MailSceneEnum.class)
    private Integer scene;

}
